package me.illtamer.rpc.test;

import me.illtamer.rpc.annotation.ServiceScan;
import me.illtamer.rpc.transport.RpcServer;
import me.illtamer.rpc.transport.netty.server.NettyServer;
import me.illtamer.serializer.CommonSerializer;

/**
 * 测试用 Netty 服务端
 * */
@ServiceScan
public class NettyTestServer {

    public static void main(String[] args) {
        RpcServer server = new NettyServer("127.0.0.1", 25565, CommonSerializer.PROTOBUF_SERIALIZER);
        server.start();
    }

}
